#define _CRT_SECURE_NO_WARNINGS 1

#include"SL.h"

void SLtest()
{
	ST s;
	SLInit(&s);
	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPushBack(&s, 5);
	SLPrint(&s);
	SLPushFront(&s, 10);
	SLPushFront(&s, 20);
	SLPushFront(&s, 30);
	SLPrint(&s);
	SLInsert(&s, 3, 100);
	SLPrint(&s);
	SLErase(&s, 2);
	SLPrint(&s);
	SLDestory(&s);
}

int main()
{
	SLtest();
	return 0;
}
